package study.chapter17Exception;

/**
 * ExceptionTest
 *
 * @author byc
 * @date 2021-10-17
 */
public class ExceptionTest {
    private static ExceptionTest exceptionTest;
    public static void main(String[] args) {
        try{
            Thread.sleep(3000);
            exceptionTest.run();
            System.out.println("你对劲儿");
        }catch (Exception e){
            System.out.println("你不对劲");
        }
    }

    void run(){
        run();
    }

    public static void fun(){
        fun();
    }
}

